﻿using System;
using System.Runtime.Serialization;

namespace TagChimp
{
    /// <summary>
    /// abstract class used for creating new exception types if your are extending this library inherit all new TagChimp exceptions from this class.
    /// </summary>
    /// <remarks></remarks>
    public  class TagChimpException : TagChimpExceptionBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        /// <remarks></remarks>
        public TagChimpException()
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="TagChimpException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <remarks></remarks>
        public TagChimpException(string message)
            : base(message)
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="TagChimpException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerException">The inner exception.</param>
        /// <remarks></remarks>
        public TagChimpException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.ApplicationException"/> class with serialized data.
        /// </summary>
        /// <param name="info">The object that holds the serialized object data.</param>
        /// <param name="context">The contextual information about the source or destination.</param>
        /// <remarks></remarks>
        protected TagChimpException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {

        }

        /// <summary>
        /// Gets a message that describes the current exception.
        /// </summary>
        /// <returns>
        /// The error message that explains the reason for the exception, or an empty string("").
        ///   </returns>
        /// <remarks></remarks>



    }
}